package com.example.demo.mapper;


import com.example.demo.po.Class;
import com.example.demo.po.dto.ClassParam;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ClassMap {


    void SaveClass(ClassParam _class);

    void DeleteClass(int id);

    void UpdateClass(ClassParam _class);

    List<Class> GetClass();

    List<Class> GetClassByName(String name);

  //  Class VerifyName(String name);

}
